using ToffeeHttp.Runtime.Core;
using UnityEngine.Networking;

namespace ToffeeHttp.Runtime
{
    public class MsgChannelDefault : IMsgChannel
    {
        public object Decoder(UnityWebRequest response) { return response.downloadHandler.text; }

        public object Encoder(object msg) { return msg; }

    }
}